<template lang="">
    <div>
        <van-field label='sdf' />
    </div>
</template>
<script>
export default {
    name:'a',
    methods: {
        getlist(){
            // this.axios.get('getdata?a=123').then(res=>{
            //   console.log(res)
            // })
            this.axios('getdata','post',{"a":'a'}).then(res=>{
                console.log(res.code)
            })
           
        }
    },
    mounted() {
        this.getlist()
    },
}
</script>
<style lang="">
    
</style>